<template>
  <div class="top_box">
    <div class="logo">
      <img class="img1" src="/portal/images/cxlogo.png" />
      <img class="img2" src="/portal/images/logotxt.png" />
      <!-- <span></span> -->
      <!-- <b><img src="/portal/images/word.png" /></b> -->
    </div>
    <div class="top_icon">
      <a href="#"><img src="/portal/images/top_home.png"/></a>
      <a href="#"><img src="/portal/images/top_person.png"/></a>
      <a @click="logout"><img src="/portal/images/top_exit.png"/></a>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  methods: {
    // 注销
    logout() {
      localStorage.removeItem("protal-token");
      this.$router.push("/login");
    }
  }
};
</script>

<style>

</style>
